home *** CD-ROM | disk | FTP | other *** search
/ Kompuutteri Kaikille K-CD 2008 #18 / KCD200818.ISO / Euro Truck / ets_1_00_setup.exe / base.scs / effect / generic / dry_vcol_tex / nv2x_fog.vp < prev    next >
Text File  |  2008-07-25  |  1KB  |  29 lines

  1. !!ARBvp1.0
  2. # cgc version 2.0.0015, build date May 15 2008
  3. # command line args: -quiet -fastprecision -I../../src/shaderlib/effect -profile arbvp1 -DPATH_NV2X -DDRY_FOG
  4. # source file: effect/dry_vcol_tex/dry.vcol.tex.cg
  5. #vendor NVIDIA Corporation
  6. #version 2.0.0.15
  7. #profile arbvp1
  8. #program vertex_main
  9. #semantic vertex_main.transform
  10. #var float4 v.position : $vin.POSITION : POSITION : 0 : 1
  11. #var float4 v.color : $vin.COLOR0 : COLOR0 : 0 : 1
  12. #var float4 v.tex_coord_0 : $vin.TEXCOORD0 : TEXCOORD0 : 0 : 1
  13. #var float4x4 transform.mvp_matrix :  : c[1], 4 : 1 : 1
  14. #var float4x4 transform.mv_matrix :  : c[5], 4 : 1 : 1
  15. #var float4 vertex_main.position : $vout.POSITION : HPOS : -1 : 1
  16. #var float4 vertex_main.color : $vout.COLOR0 : COL0 : -1 : 1
  17. #var float vertex_main.fog_coord : $vout.FOG : FOGC : -1 : 1
  18. #var float4 vertex_main.tex_coord_0 : $vout.TEXCOORD0 : TEX0 : -1 : 1
  19. PARAM c[9] = { program.local[0..8] };
  20. MOV result.color, vertex.color;
  21. MOV result.texcoord[0], vertex.texcoord[0];
  22. DP4 result.position.w, vertex.position, c[4];
  23. DP4 result.position.z, vertex.position, c[3];
  24. DP4 result.position.y, vertex.position, c[2];
  25. DP4 result.position.x, vertex.position, c[1];
  26. DP4 result.fogcoord.x, -vertex.position, c[7];
  27. END
  28. # 7 instructions, 0 R-regs
  29.